\documentclass[a4paper,10pt]{article}
%-------------------------------------------------------------------
% Document specifics
\usepackage{setspace}												% For spacing, e.g., double line spacing, line spread
\usepackage{enumitem}												% Controls layout of itemize, enumerate, description
\usepackage{footnote}												% Improve on LaTeX's footnote handling
%\usepackage[margin=1in]{geometry}					% Flexible and complete interface to document dimensions
\usepackage{fullpage}												% Set all page margins to 1.5cm
\usepackage{changepage}											% Commands to change the page layout in the middle of a document
\usepackage[table]{xcolor}									% Provides easy driver-independent access to several kinds of color 
\definecolor{airforceblue}{rgb}{0.36, 0.54, 0.66}
\definecolor{olivine}{rgb}{0.6, 0.73, 0.45}
\usepackage{colortbl}												% Allows rows and columns to be coloured
\usepackage{nameref}												% Defines a \nameref command, that makes reference to an object
\usepackage{titling}												% Provides control over the typesetting of the \maketitle command 
\usepackage[titletoc, title]{appendix}			% For appendices
%-------------------------------------------------------------------
% Tables and numbers
\usepackage[flushleft]{threeparttable}			% Tables with captions and notes with the same width
\usepackage{threeparttablex}								% Minor improvements over threeparttable
\usepackage{dcolumn}												% Align on the decimal point of numbers in tabular columns
\usepackage{multirow}												% Create tabular cells spanning multiple rows
\usepackage{longtable}											% Tables that continue to the next page
\usepackage{booktabs}												% Enhance quality of tables
\usepackage{tabularx}												% Tabulars with adjustable-width columns
\usepackage{mathrsfs, amsfonts, amssymb, amsmath}					% RSFS fonts in maths, Set of fonts for use in mathematics
%\usepackage{slashbox}											% Produces tabular cells with diagonal lines
\usepackage{siunitx}												% Set of tools for authors to typeset quantities in a consistent way
\usepackage{array}													% Extending the array and tabular environments
\usepackage[sc]{mathpazo}										% Fonts to typeset mathematics to match Palatino
%-------------------------------------------------------------------
% Floats in general
\usepackage{adjustbox}											% Provides several macros to adjust boxed content
\usepackage{graphicx}												% Provides a key-value interface for \includegraphics
\usepackage{float}													% Improves interface for floating objects
\usepackage[skip = 0pt]{caption}						% Customizes the captions in floating environments
\captionsetup{justification=centering}
\DeclareCaptionLabelFormat{Sfignum}{#1~S#2}
\captionsetup[table]{
  labelfont=bf,
  name=Table
}

\captionsetup[figure]{
  labelfont=bf,
  name=Figure
}

\captionsetup{justification=centering}			% Captions setup
\usepackage{subcaption}											% Supports for sub-captions
\usepackage{rotating}												% Rotation tools, including rotated full-page floats
\usepackage{pdflscape}											% Makes landscape pages display as landscape
\usepackage{lscape}													% Place selected parts of a document in landscape
\usepackage{afterpage}											% Executes command after the next page break
\usepackage{tikz}													  % For complex graphs in LaTeX
\usetikzlibrary{positioning}
%\tikzset{mynode/.style={draw,text width=1in,align=center}}
\tikzset{mynode/.style={draw,align=center}}
%\usepackage[nolists,heads]{endfloat}								% Moves floats to the end
%\usepackage[all]{hypcap}											      % Adjusts the anchors of captions
%\usepackage{ctable}												        % Flexible typesetting of table and figure floats using key/value directives
%-------------------------------------------------------------------
% Languages, encoding 
\usepackage[english]{babel}								              % Multilingual support for Plain TeX or LaTeX
\usepackage[utf8]{inputenc}											        % Accept different input encodings
\usepackage[autostyle, english = american]{csquotes}		% Provides advanced facilities for inline and display quotations
\usepackage[T1]{fontenc}											          % Standard package for selecting font encodings
%-------------------------------------------------------------------
% MISC
\usepackage{lipsum}													% Easy access to the Lorem Ipsum dummy text.
\usepackage[plainpages=false,pdfpagelabels]{hyperref}				% Handles cross-referencing commands in LaTeX
\usepackage{url}													% Verbatim with URL-sensitive line breaks
\urlstyle{rm}
%-------------------------------------------------------------------
% References
%\usepackage{apacite}												% APA references thingy
\usepackage[natbib, style=apa]{biblatex}							% For better citation
\addbibresource{gender.bib} 										% Replace this with your actual bibfile name
%-------------------------------------------------------------------
% Other document setups
%%% Misplaced noalign
\makeatletter\let\expandableinput\@@input\makeatother
%%% Quotes multilingual 
\MakeOuterQuote{"}
%%% Matrices
\setcounter{MaxMatrixCols}{10}
%%% New theorem environments
\newtheorem{acknowledgement}{Acknowledgement}
\newtheorem{algorithm}{Algorithm}
\newtheorem{axiom}{Axiom}
\newtheorem{case}{Case}
\newtheorem{claim}{Claim}
\newtheorem{conclusion}{Conclusion}
\newtheorem{condition}{Condition}
\newtheorem{conjecture}{Conjecture}
\newtheorem{corollary}{Corollary}
\newtheorem{criterion}{Criterion}
\newtheorem{definition}{Definition}
\newtheorem{example}{Example}
\newtheorem{exercise}{Exercise}
\newtheorem{lemma}{Lemma}
\newtheorem{notation}{Notation}
\newtheorem{problem}{Problem}
\newtheorem{proposition}{Proposition}
\newtheorem{remark}{Remark}
\newtheorem{solution}{Solution}
\newtheorem{assumption}{Assumption}
%%% New environment for landscape tables    
\newenvironment{ltable}{\begin{landscape}\begin{table}}{\end{table}\end{landscape}}
\newenvironment{ltablelong}{\begin{landscape}\begin{longtable}}{\end{longtable}\end{landscape}}
%%% New environment for column type (hide columns)
\newcolumntype{H}{>{\setbox0=\hbox\bgroup}c<{\egroup}@{}}
\newcolumntype{P}[1]{>{\centering\arraybackslash}p{#1}}
\newcolumntype{M}[1]{>{\centering\arraybackslash}m{#1}}
%%% Double perpendicular symbol (for independence)
\newcommand\independent{\protect\mathpalette{\protect\independenT}{\perp}}
\def\independenT#1#2{\mathrel{\rlap{$#1#2$}\mkern2mu{#1#2}}}
%%% For raw type of inputs (good for esttab command in Stata)
\makeatletter
\newcommand\primitiveinput[1]
{\@@input #1 }
\makeatother
%%% Numbering within sections (Tables)
% \numberwithin{table}{section}
%%% Define colors
\definecolor{darkblue}{rgb}{0,0,.4}
\definecolor{winered}{RGB}{198,13,37}
\hypersetup{colorlinks=true, 
			breaklinks=true, 
			citecolor=winered, 
			linkcolor=darkblue, 
			menucolor=darkblue, 
			urlcolor=darkblue}
%%% Inserting Stata output (Stars)
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}

%-----------------------------------------------------------------
% BEGIN ----------------------------------------------------------
%-----------------------------------------------------------------
%\setlength{\droptitle}{-5em}   										% This is your set screw
\title{Can personalized digital counseling improve consumer search for modern contraceptive methods? \\ All Tables and Figures}
\author{Susan Athey \and Katy Bergstrom \and Vitor Hadad \and Julian C. Jamison \and Berk Özler \and Luca Parisotto \and  Julius Dohbit Sama}
%-----------------------------------------------------------------
\begin{document}
%-----------------------------------------------------------------
\maketitle

\newpage

\begin{table}[H]
  \centering
  % \begin{adjustbox}{max width=\textwidth}
      \begin{threeparttable}
        \footnotesize
        \caption{Client characteristics.}
        \label{tab:dhs_pilot_characteristics}
        \input{tables/Tab01-descriptives_nodhs_replication.tex} 
      \begin{tablenotes}
        \footnotesize
        \setlength\labelsep{0pt}
        \item Notes: This table shows client characteristics for everyone and by department in the study sample, and in the Demographic and Health Survey (DHS) of Cameroon in 2018; column 1 includes the full sample of clients in the study sample; columns 2 includes clients who received a consultation at the family planning department, i.e. who visited the family planning unit through their own personal initiative; column 3 includes clients who visited another hospital department, primarily maternity and gynecology; and column 4 includes only individuals from the Yaoundé stratum of the DHS. MiM refers to \textit{Method in Mind} clients, who are individuals that visited the hospital seeking a specific method, which they either wanted to adopt or renew; this category is not present in the DHS data. Adolescent refers to individuals between ages 15 and 19. In the DHS, data on the Body Mass Index (BMI) is only collected for mothers of children born in the three/five years preceding the survey (months 0 to 59 before the survey) for a total of 467 respondents. Both DHS and the study sample are restricted to women ages 15-49, who are not pregnant, and do not want to become pregnant within the next 12 months.
      \end{tablenotes}
      \end{threeparttable}
  % \end{adjustbox}
  \end{table}
  
\newpage

\begin{table}[H]
  \centering
  \begin{adjustbox}{max width=\textwidth}
      \footnotesize
      \begin{threeparttable}
      \footnotesize
      \caption{Heterogeneity of treatment effects by the internal ranking of methods} \label{tab:trm-srm-adopted-outcomes}
      \input{tables/Tab02-het-teffects-replication.tex}
      \begin{tablenotes}
        \footnotesize
        \setlength\labelsep{0pt}
        \item Notes: Standard errors in parenthesis. The injectable was never the top-ranked nor the second-ranked method. For the purpose of grouping the two methods commonly ranked at the top, SARC includes Pill and LAM in this table, while Other includes the following combinations: Pill-IUD, Pill-Implant, LAM-IUD, and LAM-Pill. IDM row represents the mean value of the outcome for the IDM group. SDM row represents the mean value of the outcome for the SDM group. SDM-IDM is the differences of mean between SDM and IDM. While there are 399 clients who were randomized into IDM or SDM in our analysis, we have incomplete information on the discussion of methods for 7 clients, leaving us a sample size of 392 for the analysis required for this table.
      \end{tablenotes}		
      \end{threeparttable}
  \end{adjustbox}
\end{table}

\newpage

\begin{figure}[H]
	\centering
  \includegraphics[width=\textwidth]{figures/figure1.pdf}
	\caption{\textbf{Family Planning counseling flowchart.} \sym{*} Or wanted to renew their current method without discussing other methods (approximately 10\% of this group of clients). \sym{**} In rare cases where a client's where a client's preferred method is contra-indicated they were counselled on the next most suitable method according to a default ranking.} 
	\label{fig:flowchart}
\end{figure}

\newpage
\begin{figure}[H]
  \centering
  \includegraphics[width=\textwidth]{figures/Fig2-view-prices.png}
  \caption{\textbf{Fraction of clients who adopted a LARC.} The figure shows the fraction of clients who adopted a LARC during the study period under \textit{Discounted} and \textit{Full} LARC prices across counseling styles. The lines above the bars show the estimate (d) and p-value (p) from a t-test of the difference in means between the two indicated groups. The bar labeled \textit{DiD} indicates the difference-in-differences estimate between the two randomized counseling interventions (\textit{IDM-SDM}) and LARC price discounts (\textit{Full-Discounted}).} %\raggedright
\label{fig:view-prices-fig}
\end{figure}

\newpage

\begin{figure}[H]
	\centering
  \includegraphics[width=\textwidth]{figures/Fig3-ndm_mim_r.png}
	\caption{\textbf{Number of Methods Discussed in Detail.} This figure shows the number of methods discussed in detail under each counselling style. The p-value in the top right corner refers to a t-test of the equality of means in the IDM and SDM groups. }
	\label{fig:ndm}
\end{figure}



%-----------------------------------------------------------------
% END ------------------------------------------------------------
%-----------------------------------------------------------------

%-----------------------------------------------------------------
\end{document}
%-----------------------------------------------------------------